| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | import { |
||
| 5 | export default function insertDebugtoolUtilities(text){ |
||
| 6 | return text.replace( |
||
| 7 | /<\/body>/, |
||
| 8 | `<style> |
||
| 9 | body [data-abe]{ transition: box-shadow 600ms ease-in-out; box-shadow: 0; } |
||
| 10 | body .select-border{ border-color: #007CDE; box-shadow: 0 3px 13px #7CBAEF; } |
||
| 11 | body img.display-attr:before { content: attr(alt); } |
||
| 12 | body a.display-attr:before { content: attr(title); } |
||
| 13 | body .display-attr:before { position: absolute; display: block; z-index: 555; font-size: 10px; background-color: rgba(255, 255, 255, 0.75); padding: 2px 5px; color: #5D5D5D; } |
||
| 14 | .hidden-abe{ display: none!important; width: 0px !important; height: 0px!important; position: absolute; left: -10000px; top: -10000px; visibility: hidden;} |
||
| 15 | </style> |
||
| 16 | </body>` |
||
| 17 | ) |
||
| 18 | } |